Reducing the Latency of Non-Blocking Commitment using Optimism and Replication

نویسندگان

  • R. Jiménez-Peris
  • G. Alonso
چکیده

Atomic commitment protocols are used to ensure the atomicity of atomic transactions. The best known and most widely used atomic commitment protocol is two phase commit (2PC). The main idea behind 2PC is to perform two rounds of voting under the guidance of a site acting as coordinator. The coordinator asks first for votes on whether to commit (yes vote) or abort (no vote) the transaction. The participants send their vote and the coordinator decides to commit if all participants voted yes. Otherwise the decision is to abort. The main drawback of 2PC is that it might block. This happens when the coordinator fails after having received yes votes from all participants but before sending the commit message. In that situation, the participants cannot make a decision among themselves because they do not know what the coordinator decided before it failed. By deciding to commit or abort, they could be doing exactly the opposite of what the coordinator did, thereby violating the atomicity of the transaction. Non-blocking commit protocols, e.g., 3 phase commit (3PC) have been proposed to overcome this drawback. However, and in spite of the work in the area, the standard atomic commitment protocol is still 2PC. The main reason is that most transactional systems pay as much attention to performance as they do to consistency. For instance, in most systems, if a transaction has not committed after a given period of time, it is summarily aborted regardless of whether the coordinator is up or down. There are good practical

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

The Effectiveness of Acceptance and Commitment Therapy on prisoners' psychological capital and criminal thinking in Bushehr city

Psychological empowerment of prisoners is one of the effective treatment programs for reducing the prevention of recurrence of crime. Due to the importance of this issue, the present study was conducted with the aim of the effectiveness of acceptance and commitment therapy (ACT) on the psychological capital and criminal thinking of prisoners in Bushehr city. The method of the present study was ...

متن کامل

Effectiveness of Optimism Group Training through an Islamic Approach on Marital Commitment of Married Female Nurses Working in Yazd Shahid Sadoughi Hospital

Introduction: Marital commitment is the most important factor affecting the family stability. Nurses are mostly exposed to psychological stress and marital problems. Therefore, it is important to conduct interventions in order to prevent exacerbation of these problems and to improve the mental health and quality of marital life in nurses. The purpose of this study was to assess the effectivenes...

متن کامل

Proxy based Two Phase Commit with Wait for Improved Response Time and Blocking Probability

Whereas the two-phase commit protocol guarantees global atomicity, its biggest drawback is that it is a blocking protocol whenever the coordinator fails, cohort sites will have to wait for its recovery. Although threephase commit protocol was devised to reduce blocking situation, it increases latency. In this paper we propose a proxy based two-phase atomic commitment protocol to improve the per...

متن کامل

Design of a Low-Latency Router Based on Virtual Output Queuing and Bypass Channels for Wireless Network-on-Chip

Wireless network-on-chip (WiNoC) is considered as a novel approach for designing future multi-core systems. In WiNoCs, wireless routers (WRs) utilize high-bandwidth wireless links to reduce the transmission delay between the long distance nodes. When the network traffic loads increase, a large number of packets will be sent into the wired and wireless links and can...

متن کامل

The Role of Psychological Capital (i.e., Hope, Optimism, Self-efficacy, Resilience) in Student's Academic Commitment

Introduction: Academic commitment in students is influenced by various psychological factors. In this research, was studied the role of psychological capital (i.e., hope, optimism, self-efficacy, resilience) in students' academic commitment.   Methods: In this correlational study, 300 students from the faculty of humanities in University of Guilan were selected through cluster sampling method i...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2001